import { reactive, readonly, watch, ref } from 'vue';
// import { set, get } from 'idb-keyval';

export class Store {
    constructor(storeName) {
        this.storeName = storeName;
        let data = this.data();
        this.state = reactive(data);
    }
    getState() {
        return readonly(this.state);
    }
}